<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><s:property value="#session.access"/></title>
<meta name="viewport" content="width=device-width,inital-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="format-detection" content="telephone=no,email=no,adress=no">
<link href="<%=request.getContextPath()%>/css/global.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath() %>/css/bootstrap.css" type="text/css" rel="stylesheet"/>
<link href="<%=request.getContextPath() %>/css/bootstrap-responsive.css" type="text/css" rel="stylesheet"/>
<link href="<%=request.getContextPath() %>/js/date/skin/WdatePicker.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/bootstrap.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/date/WdatePicker.js"></script>
<script type="text/javascript">

</script>
</head>
<body>
	<div class="container">
		
		<s:action name="global_menu"  executeResult="true"></s:action>
		
		<div class="row">
			<div class="span12">
					<h5>
						持卡人信息
					</h5>
					
					<div class="hero-unit" style="padding: 15px;font-size: 14px;line-height: 20px;">
						<table style="width: 100%;">
							<tr>
								<td height="30">ip地址 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdIp,20)"/></td>
							</tr>
							<tr>
								<td height="30">操作系统 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdOs,20)"/></td>
							</tr>
							<tr>
								<td height="30">浏览器 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdBrowser,20)"/></td>
							</tr>
							<tr>
								<td height="30" >语言 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdLocale,20)"/></td>
							</tr>
							<tr>
								<td height="30">时区 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdTiming,20)"/></td>
							</tr>
							<tr>
								<td height="30">ip国家码 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdCode,20)"/></td>
							</tr>
							<tr>
								<td height="30">bin国家码 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdBin,20)"/></td>
							</tr>
							<tr>
								<td height="30" >类型 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdType,20)"/></td>
							</tr>
							<tr>
								<td height="30">卡号 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdNumber,20)"/></td>
							</tr>
							<tr>
								<td height="30" >收货人名 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdCfname,20)"/> <s:property value="@utils.StringUtil@limit(cardBean.crdClname,20)"/></td>
							</tr>
							<tr>
								<td height="30" >收货人电话 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdCphone,20)"/></td>
							</tr>
							<tr>
								<td height="30" >收货人邮件 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdCemail,40)"/></td>
							</tr>
							<tr>
								<td height="30" >收货人国家 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdCcountry,20)"/></td>
							</tr>
							<tr>
								<td height="30" >收货人州/省 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdCstate,20)"/></td>
							</tr>
							<tr>
								<td height="30" >收货人城市 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdCcity,20)"/></td>
							</tr>
							<tr>
								<td height="30" >收货人邮编 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdCzip,20)"/></td>
							</tr>
							<tr>
								<td height="30" >收货人地址 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdCaddr,20)"/></td>
							</tr>
							<tr>
								<td height="30" >持卡人名 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdHfname,20)"/> <s:property value="@utils.StringUtil@limit(cardBean.crdHlname,20)"/></td>
							</tr>
							<tr>
								<td height="30" >持卡人电话 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdHphone,20)"/></td>
							</tr>
							<tr>
								<td height="30" >持卡人邮箱 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdHemail,40)"/></td>
							</tr>
							<tr>
								<td height="30" >持卡人国家 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdHcountry,20)"/></td>
							</tr>
							<tr>
								<td height="30" >持卡人州/省 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdHstate,20)"/></td>
							</tr>
							<tr>
								<td height="30" >持卡人城市 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdHcity,20)"/></td>
							</tr>
							<tr>
								<td height="30" >持卡人邮编 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdHzip,20)"/></td>
							</tr>
							<tr>
								<td height="30" >持卡人地址 : </td><td align="right"><s:property value="@utils.StringUtil@limit(cardBean.crdHaddr,20)"/></td>
							</tr>
						</table>
					</div>
					
					<h5>
						交易信息
					</h5>
					
					<div class="hero-unit" style="padding: 15px;font-size: 14px;line-height: 20px;">
						<table style="width: 100%;">
							<tr>
									<td height="30"  >编号 : </td><td align="right"><s:property value="@utils.StringUtil@limit(transactionBean.txnNo,40)"/></td>
							</tr>
							<tr>
									<td height="30"  >持卡人编号 : </td><td align="right"><s:property value="@utils.StringUtil@limit(transactionBean.crdNo,10)"/></td>
							</tr>
							<tr>
									<td height="30" >商户订单号 : </td><td align="right"><s:property value="@utils.StringUtil@limit(transactionBean.txnOrder,40)"/></td>
							</tr>
							<tr>
									<td height="30" >来源网站 : </td><td align="right"><s:property value="@utils.StringUtil@limit(transactionBean.txnSite,20)"/></td>
							</tr>
							<tr>
									<td height="30" >产品信息 : </td><td align="right"><s:property value="@utils.StringUtil@limit(transactionBean.txnProduct,20)"/></td>
							</tr>
							<tr>
									<td height="30" >原交易币种 : </td><td align="right"><s:property value="@utils.StringUtil@limit(transactionBean.txnCur,40)"/></td>
							</tr>
							<tr>
									<td height="30" >原交易金额 : </td><td align="right"><s:text name="global.format.number"><s:param value="transactionBean.txnLoc" /></s:text></td>
							</tr>
							<tr>
									<td height="30" >实时汇率 : </td><td align="right"><s:text name="global.format.number"><s:param value="transactionBean.txnRate" /></s:text></td>
							</tr>
							<tr>
									<td height="30" >交易金额 : </td><td align="right"><s:text name="global.format.number"><s:param value="transactionBean.txnAmount" /></s:text>&nbsp; &nbsp;(剩余<s:text name="global.format.number"><s:param value="transactionBean.txnRemain" /></s:text>)</td>
							</tr>
							<tr>
									<td height="30" >退款状态 : </td><td align="right"><s:if test="transactionBean.txnRefund==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
							</tr>
							<tr>
									<td height="30" >拒付状态 : </td><td align="right"><s:if test="transactionBean.txnRefuse==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
							</tr>
							<tr>
									<td height="30" >冻结状态 : </td><td align="right"><s:if test="transactionBean.txnFreeze==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
							</tr>
							<tr>
									<td height="30" >发货状态 : </td><td align="right"><s:if test="transactionBean.txnLogic==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
							</tr>
							<tr>
									<td height="30" >结算状态 : </td><td align="right"><s:if test="transactionBean.txnSettle==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
							</tr>
							<tr>
									<td height="30" >风险状态 : </td><td align="right"><s:if test="transactionBean.txnDanger==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
							</tr>
							<tr>
									<td height="30" >可见状态 : </td><td align="right"><s:if test="transactionBean.txnVisible==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
							</tr>
							<tr>
									<td height="30" >支付状态 : </td><td align="right"><s:if test="transactionBean.txnState==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
							</tr>
							<tr>
									<td height="30" >发生日期 : </td><td align="right"><s:text name="global.format.datetime"><s:param value="transactionBean.txnDate" /></s:text></td>
							</tr>
							
							</table>
						</div>
			
			
			
						<h5>
							关联入账信息
						</h5>
					
						<ul class="tasks zebra-list">
							<s:iterator value="bcList" id="show" status="seq">
							<li>
								<span class="title" id="bnkBill_<s:property value="#show.bcNo"/>">
									<s:if test="#show.bcState==0">
										[<s:property value="#show.bcCode"/>]<s:property value="#show.bcMessage"/>
									</s:if>
									<s:else>
										<script type="text/javascript">
								 		$("#bnkBill_<s:property value="#show.bcNo"/>").load("<%=request.getContextPath()%>/bank_bill.html?bnkNo=<s:property value="#show.bnkNo"/>");
								 		</script>  
									</s:else>
								</span>
								<span class="meta">
									状态 : <s:if test="#show.bcState==0"><font color="red">无效</font></s:if><s:else><font color="green">有效</font></s:else>
									|
									<s:text name="global.format.dateminute"><s:param value="#show.bcDate"/></s:text>
									|
									<s:if test="#show.bcState==1">
										<a href="<%=request.getContextPath()%>/bc_editrefund.html?bcNo=<s:property value="#show.bcNo"/>" >申请退款</a>
									</s:if> 
								</span>
								
							</li>
							</s:iterator>
						</ul>
					
							
						<h5>
							关联出账信息
						</h5>
						
						<ul class="tasks zebra-list">
							<s:iterator value="cbList" id="show" status="seq">
							<li>
								<span class="title" >
									<s:property value="#show.cbType"/> & [<s:property value="#show.cbCode"/>]<s:property value="#show.cbMessage"/>
								</span>
								<span class="meta">
									状态 : <s:if test="#show.cbState==0"><font color="red">无效</font></s:if><s:else><font color="green">有效</font></s:else>
									|
									<s:text name="global.format.dateminute"><s:param value="#show.cbDate"/></s:text>
									|
									<s:if test="#show.cbState==0">
										<a href="<%=request.getContextPath()%>/cb_editcanel.html?cbNo=<s:property value="#show.cbNo"/>" >退款撤销</a>
									</s:if> 
								</span>
								
							</li>
							</s:iterator>
						</ul>
						
						<h5>
							相关收支明细
						</h5>
						
						<ul class="tasks zebra-list">
							<s:iterator value="msmList" id="show" status="seq">
							<li>
								<span class="title" >
									<s:property value="#show.msmType"/>
									|
									<s:if test="#show.msmSign.startsWith('S')">
										<font color="green"><s:text name="global.format.number"><s:param value="#show.msmAmount"/></s:text></font>
									</s:if>
									<s:else>
										<font color="red"><s:text name="global.format.number"><s:param value="#show.msmAmount"/></s:text></font>
									</s:else>
								</span>
								<span class="meta">
									状态 : <s:if test="#show.msmState==0"><font color="red">无效</font></s:if><s:else><font color="green">有效</font></s:else>
									|
									<s:text name="global.format.dateminute"><s:param value="#show.msmDate"/></s:text>
								</span>
								
							</li>
							</s:iterator>
						</ul>
							
					
				</div>
			</div>
		
		
		
		<s:action name="global_foot"  executeResult="true"></s:action>
	</div>
</body>
</html>


